Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
Constants


CSG IDs

A drawing engine may support CSG IDs that determine what number a drawing engine assigns to triangles submitted for drawing. You specify an engine's CSG ID by assigning a value to its kQATag_CSGTag state variable. The default value of this variable for a drawing engine that supports CSG is kQACSGTag_None. You can use the following constants to specify a CSG ID.

#define kQACSGTag_None                 0xffffffffUL
#define kQACSGTag_0                    0
#define kQACSGTag_1                    1
#define kQACSGTag_2                    2
#define kQACSGTag_3                    3
#define kQACSGTag_4                    4
Constant descriptions

kQACSGTag_None
Do not assign CSG IDs to submitted triangles.
kQACSGTag_0
Submitted triangles have the CSG ID 0.
kQACSGTag_1
Submitted triangles have the CSG ID 1.
kQACSGTag_2
Submitted triangles have the CSG ID 2.
kQACSGTag_3
Submitted triangles have the CSG ID 3.
kQACSGTag_4
Submitted triangles have the CSG ID 4.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996